<template>
	<view>
		<map id="map" ref="aroundMap" show-location="true" style="width: 100%; height: 600upx;" :latitude="latitude" :longitude="longitude"
		 :markers="covers">
		</map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude: 120.744207,
				latitude: 31.272833,
				covers: [{
					longitude: 120.744207,
					latitude: 31.272833,
					iconPath: '../../../static/images/estate/location.png',
					title: '顶级楼层'
				}]
			}
		},
		onLoad(option){
			this.covers = JSON.parse(decodeURIComponent(option.position));
		},
		onReady() {
			
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
